﻿<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
	<div class="articlebox">
    <table style="display:none;"><tr><td>
	<%HtmlBlock method = "processList"; %>
		<%Conditional on="Depth==0"; %>
            </td></tr></table>
            <table>
	            <tr><td colspan="2">
			    <div class="articlebox0">
        		<div class="title">
		    	    <asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/>
		    	</div>
		    	</tr><tr><td>
			    <asp:HyperLink ID="primaryPicture_name" runat="server" 
				    ImageUrl="/$mediaCacheName$/SmallMedium/$primaryPicture.name$" 
				    EnableViewState="false"  NavigateUrl="$navLink$"/>
    			</div>
            </td><td width="100%" valign="top">				    
		<%EndConditional; %>
		<%Conditional on="Depth==1"; %>
		<div class="articlebox1">
			<table>
			<tr>
				<td style="vertical-align:top">
					<asp:HyperLink ID="primaryPicture_name" runat="server" 
						ImageUrl="/$mediaCacheName$/$imageRes$/$primaryPicture.name$" 
						EnableViewState="false"  NavigateUrl="$navLink$"/>
				</td>
				<td style="vertical-align:top">
					<asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/><br />
					<swf:ReadOnlyText ID="summary" runat="server"  Width="90%"/>
				</td>
			</tr>
			</table>
		</div>	
		<%EndConditional; %>
    <%EndHtmlBlock; %>
    </td></tr></table>
    </div>
        